package com.cris.domain;

import java.util.UUID;

public class Payment {
	private Money amount;
	//订单编号
	private String payNo;
	public Payment(Money cashTendered){
		this.amount = cashTendered;
		this.payNo= UUID.randomUUID().toString();
	}
	public Money getAmount() {
		return amount;
	}

	public String getPayNo() {
		return payNo;
	}
}
